#include <stdio.h>
#include "mesinkar.h"

int main(int argv , char *argc[]) {
	//Buka file
	FILE *f = fopen(argc[1] , "r");
	
	// KAROL LEMAH
	printf("Isi file sampai tanda #:");
	
	//Mulai baca
	START(f);
	
	while (CC != MARK) {
		printf("%c", CC);
		ADV(f);
	}
	
	//Enter
	printf("\n");
	
	if (f != NULL) fclose(f);
	return 0;
}
